package com.wm.task;

public class Customer {
    private int num;
    public Customer(int num){
        this.num = num;
    }

    public void shopping(Store store){
        new Thread(()->{
            store.sell(this.num);
        }).start();
    }
}
